<html>
<head>
<link href="{$siteinfo.tempdir}images/index.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="inc/js/jquery.js" type="text/javascript"></script>
<script src="inc/js/jquery-chekform.js" type="text/javascript"></script>
<script language="javascript">
$(function(){
	//提交验证部分
	$("#sub").chkform([
	{"name":$("#fm_tel"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>电话不符合规则！</span></div>","type":"phone"},
	{"name":$("#fm_qq"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>qq不符合规则！</span></div>","type":"qq"},
	{"name":$("#fm_mail"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>邮件格式有误！</span></div>","type":"mail"},
	{"name":$("#fm_msn"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>msn格式有误！</span></div>","type":"mail"}
	]);

})
</script>
</head>

<body>
<form name="form1" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
	<td width="100%" class="list black" colspan="2">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="86%" align="center" class="black">信息设置</td>
				<td width="14%"><a href="javascript:history.go(-1)"><img
					src="{$siteinfo.tempdir}images/list_add3.gif" width="84"
					height="26"
					onMouseOver="this.src='{$siteinfo.tempdir}images/list_add4.gif'"
					onMouseOut="this.src='{$siteinfo.tempdir}images/list_add3.gif'"
					border="0" /></a></td>
			</tr>
		</table>
		</td>
	</tr>
	
		
	    <tr>
      <td class="list-add1 pl8" colspan="2" style="display:none" id="errmsg">

	  </td>
    </tr>
	<tr>
		<td height="40" align="right" class="list-add1">电话：</td>
			<td class="list-add1 pl8"><input name="fm_tel" type="text"
			size="50"  value="{$contactinfo.tel}" id="fm_tel" /></td>
	</tr>	
	
		<tr>
		<td height="40" align="right" class="list-add1">QQ：</td>
	<td class="list-add1 pl8"><input name="fm_qq" type="text"
			size="50"  value="{$contactinfo.qq}" id="fm_qq" /></td>
	</tr>	
	
	
		<tr>
		<td height="40" align="right" class="list-add1">邮箱：</td>
		<td class="list-add1 pl8"><input name="fm_mail" type="text"
			size="50"  value="{$contactinfo.mail}" id="fm_mail" /></td>
	</tr>	
	
	
		<tr>
		<td height="40" align="right" class="list-add1">MSN：</td>
		<td class="list-add1 pl8"><input name="fm_msn" type="text"
			size="50"  value="{$contactinfo.msn}" id="fm_msn" /></td>
	</tr>	
	
	
	<tr>
   <td align="center" class="list-add1" colspan="2" style="padding:20px">
	<!--  <input type="image"
			name="imageField" src="{$siteinfo.tempdir}images/list_add1.gif"
			onMouseOver="this.src='{$siteinfo.tempdir}images/list_add2.gif'"
			onMouseOut="this.src='{$siteinfo.tempdir}images/list_add1.gif'"  id="sub"/>
			-->
			<input type="submit" value="提&nbsp;&nbsp;交&nbsp;&nbsp;信&nbsp;&nbsp;息" name="sub" id="sub"  >	
			<input type="hidden" name="action" value="contactupdate" />
			</td>
	</tr>
</table>
</form>

<table width="102%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>

</body>
</html>
